from unipath import Path

ROOTDIR = Path(__file__).parent.parent

# load  SETUP_INFO:
execfile(ROOTDIR.child('garden','setup_info.py'),globals())

from atelier.test import SubProcessTestCase

class BaseTestCase(SubProcessTestCase):
    project_root = ROOTDIR
    
class BasicTests(BaseTestCase):
    def test_01(self): 
        self.assertEqual(1+1,2)

    #~ def test_rstgen(self): self.run_simple_doctests('atelier/rstgen.py')

class PackagesTests(BaseTestCase):
    def test_packages(self): self.run_packages_test(SETUP_INFO['packages'])

